package com.mmche.app.service;


import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.framework.support.domain.PageMan;
import com.mmche.car.dao.CarDao;
import com.mmche.car.pojo.Car;
import com.mmche.car.service.CarService;
import com.mmche.car.service.impl.CarServiceImpl;

@Service("appCarService")
public class AppCarService extends CarServiceImpl implements CarService{
	
	@Resource(name="appCarDao")
	private CarDao carDao;
	
	@SuppressWarnings("rawtypes")
	@Override
	public int getCarCountByMap(Map map) {
		return this.carDao.getCountByMap(map);
	}

	@Override
	public List<Car> getCarPageByMap(Map<String, Object> map, PageMan pm) {
		return this.carDao.getPageByMap(map, pm);
	}
	
}
